Sound Symbolic Linking in the Presence of Preprocessing
نویسندگان
چکیده
Formal verification enables developers to provide safety and security guarantees about their code. A modular verification approach supports the verification of different pieces of an application in separation. We propose symbolic linking as such a modular approach, since it allows to decide whether or not earlier verified source files can be safely linked together (i.e. earlier proven properties remain valid). If an annotation-based verifier for C source code supports both symbolic linking and preprocessing, care must be taken that symbolic linking does not become unsound. The problem is that the result of a header expansion depends upon the defined macros right before expansion. In this paper, we describe how symbolic linking affects the type checking process and why the interaction with preprocessing results in an unsoundness. Moreover, we define a preprocessing technique which ensures soundness by construction and show that the resulting semantics after type checking are equivalent to the standard C semantics. We implemented this preprocessing technique in VeriFast, an annotation-based verifier for C source code that supports symbolic linking, and initial experiments indicate that the modified preprocessor allows most common use cases. To the extent of our knowledge, we are the first to support both modular and sound verification of annotated C source code.
منابع مشابه
A Sound Symbolic Study of Translation of Onomatopoeia in Children's Literature: The Case of '' Tintin''
As onomatopoeic words or expressions are attractive, the users of languages in the fields of religion, literature, music, education, linguistics, trade, and so forth wish to utilize them in their utterances. They are more effective and imaginative than the simple words. Onomatopoeic words or expressions attach us to the real nature and to our inner senses. This study aims at familiarity with on...
متن کاملA New Algorithm for Optimization of Fuzzy Decision Tree in Data Mining
Decision-tree algorithms provide one of the most popular methodologies for symbolic knowledge acquisition. The resulting knowledge, a symbolic decision tree along with a simple inference mechanism, has been praised for comprehensibility. The most comprehensible decision trees have been designed for perfect symbolic data. Classical crisp decision trees (DT) are widely applied to classification t...
متن کاملInverse Miniemulsion Method for Synthesis of Gelatin Nanoparticles in Presence of CDI/NHS as a Non-toxic Cross-linking System
In this research, gelatin nanoparticles were synthesized via inverse miniemulsion method by employing a mixture of a water soluble carbodiimide (CDI) and N-hydroxysuccinimide (NHS) as a non-toxic cross-linking system. The gelatin nanoparticles were characterized for their size and size distribution, morphology and stability and were compared with those of nanoparticles cross-linked by glutarald...
متن کاملAcoustic propagation analysis in the front of saline water mass in the Gulf of Aden
Background and Objectives: Influence of water mass on sound propagation in the Gulf of Aden underwater acoustics used for communication, navigation and identification of objects by both humans and marine mammals and for investigating the detrimental effects of anthropogenic activities (e.g. pile driving, seismic survey and ships) on marine animals. The Gulf of Aden presents a unique ecosystem t...
متن کاملApplying Earlier Literacy Research in Iran to Current Literacy Theory and Policy
In this paper, I attempt to bring together approaches to literacy in theory and in practice, drawing upon various activities I have been involved in over the years–research in Iranian villages during the 1970s; linking research and theory to literacy policy, with particular reference to a contribution to the Unesco Global Monitoring Report in 2004 and involvement in an ongoing adult literacy tr...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2013